package cn.zktr.Personnel.model.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.util.Date;


/**
 * The persistent class for the per_cwa_fid database table.
 * 
 */
@Entity
@Table(name="per_cwa_fid")
@NamedQuery(name="PerCwaFid.findAll", query="SELECT p FROM PerCwaFid p")
public class PerCwaFid implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	private int fidid;

	private String fidloc;

	private String fidrem;

	@Temporal(TemporalType.DATE)
	private Date fidtime;

	//bi-directional many-to-one association to PerCwaCwas
	@ManyToOne
	@JoinColumn(name="CWASID")
	private PerCwaCwas perCwaCwa;

	//bi-directional many-to-one association to PerCwaRsn
	@ManyToOne
	@JoinColumn(name="RSNID")
	private PerCwaRsn perCwaRsn;

	//bi-directional many-to-one association to PerPmsEmp
	@ManyToOne
	@JoinColumn(name="EMPID")
	private PerPmsEmp perPmsEmp;

	public PerCwaFid() {
	}

	public int getFidid() {
		return this.fidid;
	}

	public void setFidid(int fidid) {
		this.fidid = fidid;
	}

	public String getFidloc() {
		return this.fidloc;
	}

	public void setFidloc(String fidloc) {
		this.fidloc = fidloc;
	}

	public String getFidrem() {
		return this.fidrem;
	}

	public void setFidrem(String fidrem) {
		this.fidrem = fidrem;
	}

	public Date getFidtime() {
		return this.fidtime;
	}

	public void setFidtime(Date fidtime) {
		this.fidtime = fidtime;
	}

	public PerCwaCwas getPerCwaCwa() {
		return this.perCwaCwa;
	}

	public void setPerCwaCwa(PerCwaCwas perCwaCwa) {
		this.perCwaCwa = perCwaCwa;
	}

	public PerCwaRsn getPerCwaRsn() {
		return this.perCwaRsn;
	}

	public void setPerCwaRsn(PerCwaRsn perCwaRsn) {
		this.perCwaRsn = perCwaRsn;
	}

	public PerPmsEmp getPerPmsEmp() {
		return this.perPmsEmp;
	}

	public void setPerPmsEmp(PerPmsEmp perPmsEmp) {
		this.perPmsEmp = perPmsEmp;
	}

}